package com.book.common.lang;

/**
 * Description：
 * @Author： leo.xiong
 * @CreateDate： 2020/4/15 16:42
 * @Email： leo.xiong@suyun360.com
 * Version：1.0
 */
public class Tuple3<T1, T2, T3> extends Tuple2<T1, T2> {

    private final T3 _3;

    public Tuple3(T1 t1, T2 t2, T3 t3) {
        super(t1, t2);
        this._3 = t3;
    }

    public T3 _3() {
        return _3;
    }

    @Override
    public String toString() {
        return "(" + super._1() + "," + super._2() + "," + _3 + ")";
    }


}
